<template>
  <div>
    <h4>component A value from itself:{{ valueA }}</h4>
    <slot name="b" :value="valueA" />
  </div>
</template>
<script>
export default {
  data: () => ({
    valueA: 'A'
  })
}
</script>
<style lang="">

</style>